﻿using UnityEngine;

namespace UFrame
{
    public class BaseMono : MonoBehaviour
    {
        public EventControl eventc = new EventControl();
        
        protected virtual void OnDestroy()
        {
            eventc.UnRegisterEvent();
        }


        
    }
}